<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>css/all.css" media="screen">
<!-- Load JQuery -->		
<script type="text/javascript" src="<?php echo base_url()?>js/jquery.min.js"></script>

<!-- Load JQuery UI -->
<script type="text/javascript" src="<?php echo base_url()?>js/jquery-ui.min.js"></script>

<!-- Load Interface Plugins -->
<script src="<?php echo base_url(); ?>js/plugins.js"></script>
		
<script type="text/javascript" src="<?php echo base_url(); ?>js/fancybox/jquery.fancybox-1.3.4.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>js/quicksand/jquery.quicksand.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>js/quicksand/custom_sorter.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>js/quicksand/dash_sorter.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>js/quicksand/jquery-css-transform.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>js/quicksand/jquery-animate-css-rotate-scale.js"></script>		
<script type="text/javascript" src="<?php echo base_url(); ?>js/jqueryFileTree/jqueryFileTree.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>js/DataTables/jquery.dataTables.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>js/slidernav/slidernav.js"></script>
<?php 
echo validation_errors(); 
echo form_open(base_url().'login/verifylogin');

$input_username = array(
	  'name'        => 'username',
      'id'          => 'username',
	  'class'		=> 'indent round_all',	
      'value'       => '',
      'maxlength'   => '100',	                                         
);
$input_password = array(
	  'name'        => 'password',
      'id'          => 'password',
	  'class'		=> 'indent round_all',	
      'value'       => '',
      'maxlength'   => '100',	                                         
);
$input_autologin = array(
	'name'			=> 'autologin',
	'id'			=> 'autologin',
);
?>

<div id="login_box" class="round_all clearfix">
			<?php if(! is_null($msg)) echo $msg;?>
			<label class="fields"><strong>Username</strong>
				<?php echo form_input($input_username);?>
                <?php echo form_error('username');?>				
			</label>

			<label class="fields"><strong>Password</strong>
				<?php echo form_password($input_password);?>
                <?php echo form_error('password');?>
			</label>
			
			<button class="button_colour round_all">
				<img width="24" height="24" alt="Locked 2" src="<?php echo base_url(); ?>images/icons/small/white/Locked%202.png"><span>Login</span>
			</button>
			<div id="bar" class="round_bottom">
				<label><?php echo form_checkbox($input_autologin);?>Auto-login in future.</label>
				<a href="#">Forgot your password?</a>
			</div>		
		</div>
<?php echo form_close();?>